message(STATUS "FIND OpenCV")
find_package(OpenCV REQUIRED)
message(STATUS "opencv_dir is ${OpenCV_DIR}")
message(STATUS "OpenCV VERSION is ${OpenCV_VERSION}")
if (${WITH_TBB} STREQUAL "ON")
    message(STATUS "FIND TBB WITH_TBB:${WITH_TBB}")
    set(TBB_DIR ${TBB_ROOT}/cmake)
    find_package(TBB REQUIRED tbb)
    message(STATUS "TBB Version:${TBB_VERSION}")
    message(STATUS "TBB LIBS:${TBB_IMPORTED_TARGETS}")
endif ()
